#ifndef SHOT_H
#define SHOT_H

class Shot
{
public:

    int m_Col;
    int m_Row;

    Shot()
        : m_Col(-1),
          m_Row(-1)
    {}

    Shot(int col, int row)
        : m_Col(col),
          m_Row(row)
    {}

    //checks if shot is equal to a given shot

    bool operator==(const Shot &shot) const {
        if (shot.m_Col == m_Col && shot.m_Row == m_Row) {
            return true;
        }
        return false;
    }
};

#endif // SHOT_H
